/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ctrl.command;

import java.util.ArrayList;
import perso.Personnage;

/**
 *
 * @author Administrateur
 */
public class CmdConvert extends Command {
    public CmdConvert(Personnage persoSource){
        super(persoSource, null);
    }



    @Override
    public void execute(ArrayList<Personnage> listPerso) {
        getPersoSource().convert(listPerso);
        System.out.println("Perso id: "+ getPersoSource().id + " is converted");
    }
    
}
